<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<html>
<body>
<jsp:include page="../_log_head.jsp"></jsp:include>
<form class="form-inline" action="" method="get">
用户id：<input type="text" name="playerId" id="playerId" value="${playerId }"/>&nbsp;&nbsp;
从
  <div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${beginDate}" name="beginDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
  到
  <div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${endDate}" name="endDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
  <button type="submit" class="btn">查询</button>
</form>
<table class="table table-bordered">
  <thead>
    <tr>
      <th>时间</th>
      <th>用户id</th>
      <th>昵称</th>
      <th>类型</th>
      <th>房币收入</th>
      <th>房币支出</th>
    </tr>
  </thead>
  <tbody>
  <c:forEach var="m" items="${all.detailList}" varStatus="vs">
    <tr>
      <td>${m.at_time}</td>
      <td>${m.playerId}</td>
      <td><tags:user id="${m.playerId }"></tags:user></td>
      <td>${m.actionTypeName}</td>
      <td>${m.income}</td>
      <td>${m.outcome}</td>
    </tr>
  </c:forEach>
  </tbody>
</table>
<tags:page1 page="${page}" pageSize="${pageSize}" total="${all.total}" url="?beginDate=${beginDate}&endDate=${endDate}&playerId=${playerId}&page="/>
</body>
</html>